package tmall.common.vo;

import java.io.Serializable;

/**
 * 接收前端发送的分页查询参数
 * @author zhangservlet
 * @date 2020/11/30
 */
public class PageVO implements Serializable {

    /**
     * 单页数据条数
     */
    private Integer pageSize = 10;

    /**
     * 查询页码
     */
    private Integer pageNum = 1;

    /**
     * 查询关键字
     */
    private String keyWord;

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public String getKeyWord() {
        return keyWord;
    }

    public void setKeyWord(String keyWord) {
        this.keyWord = keyWord;
    }

    @Override
    public String toString() {
        return "PageVO{" +
                "pageSize=" + pageSize +
                ", pageNum=" + pageNum +
                ", keyWord='" + keyWord + '\'' +
                '}';
    }
}
